package com.itcast.n1_base3;


/**
 * 栈帧测试3
 */
public class Test3_演示栈溢出 {
    public static void main(String[] args) {
        recursion();
    }

    public static int count = 0;

    public static void recursion() {
        //不设置参数：10641
        // -Xss512k 5151
        System.out.println(++count);
        recursion();
    }
}
